package com.aaa.javaweb.entity;

import java.util.Date;

public class Staff {
    private Integer id;
    private String sname;
    private Date rzdate;
    private String address;
    private int status;
    private String imgpath;
    private int jueseid;
    private int deptid;

    public Staff(Integer id, String sname, Date rzdate, String address, int status, String imgpath, int jueseid, int deptid) {
        this.id = id;
        this.sname = sname;
        this.rzdate = rzdate;
        this.address = address;
        this.status = status;
        this.imgpath = imgpath;
        this.jueseid = jueseid;
        this.deptid = deptid;
    }

    public Staff() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Date getRzdate() {
        return rzdate;
    }

    public void setRzdate(Date rzdate) {
        this.rzdate = rzdate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getImgpath() {
        return imgpath;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath;
    }

    public int getJueseid() {
        return jueseid;
    }

    public void setJueseid(int jueseid) {
        this.jueseid = jueseid;
    }

    public int getDeptid() {
        return deptid;
    }

    public void setDeptid(int deptid) {
        this.deptid = deptid;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "id=" + id +
                ", sname='" + sname + '\'' +
                ", rzdate=" + rzdate +
                ", address='" + address + '\'' +
                ", status=" + status +
                ", imgpath='" + imgpath + '\'' +
                ", jueseid=" + jueseid +
                ", deptid=" + deptid +
                '}';
    }
}
